package com.kmzx.one.project.others.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Project one
 * @Author: carol
 * @Date: 2020/8/24-17:41
 */
@ApiModel(description = "下订单的商品,计算税率")
public class ProdSkuTaxInfo implements Serializable {

    private static final long serialVersionUID = -8946417500190362277L;

    @ApiModelProperty(value = "商品sku值", required = false, notes = "商品sku值")
    private String skuId;

    @ApiModelProperty(value = "商品数量", required = false, notes = "商品数量")
    private Integer num;

    private String prodId;

    @JsonIgnore
    private String nationImg;

    @JsonIgnore
    private String nationTitle;

    public ProdSkuTaxInfo() {
    }

    public ProdSkuTaxInfo(String skuId, Integer num) {
        this.skuId = skuId;
        this.num = num;
    }

    public String getSkuId() {
        return skuId;
    }

    public ProdSkuTaxInfo setSkuId(String skuId) {
        this.skuId = skuId;
        return this;
    }

    public Integer getNum() {
        return num;
    }

    public ProdSkuTaxInfo setNum(Integer num) {
        this.num = num;
        return this;
    }

    public String getProdId() {
        return prodId;
    }

    public ProdSkuTaxInfo setProdId(String prodId) {
        this.prodId = prodId;
        return this;
    }

    public String getNationImg() {
        return nationImg;
    }

    public ProdSkuTaxInfo setNationImg(String nationImg) {
        this.nationImg = nationImg;
        return this;
    }

    public String getNationTitle() {
        return nationTitle;
    }

    public ProdSkuTaxInfo setNationTitle(String nationTitle) {
        this.nationTitle = nationTitle;
        return this;
    }
}
